package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.News;
import cn.wolfcode.trip.base.domain.NewsContent;
import cn.wolfcode.trip.base.query.NewsQuery;
import com.github.pagehelper.PageInfo;

public interface INewsService {
    PageInfo query(NewsQuery qo);

    void saveOrUpdate(News news);

    void changeState(News news);

    NewsContent getNewsContentById(Long newsId);

    /*
    NewsContent getContentByNewsId(Long newsId);

    Map<String,Object> selectContentById(Long id);

    List<Map<String, Object>> selectNewsByKey(NewsQuery qo);*/
}
